package org.dromara.tearoom.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import org.dromara.tearoom.domain.TerUserSubscription;

import java.io.Serial;
import java.io.Serializable;



/**
 * 用户消息订阅视图对象 ter_user_subscription
 *
 * @author ckj
 * @date 2025-04-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TerUserSubscription.class)
public class TerUserSubscriptionVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private Long id;

    /**
     * 订单ID
     */
    @ExcelProperty(value = "订单ID")
    private String orderId;

    /**
     * 用户openId
     */
    @ExcelProperty(value = "用户openId")
    private String openId;

    /**
     * 模版ID
     */
    @ExcelProperty(value = "模版ID")
    private String templateId;

    /**
     * 是否订阅
     */
    @ExcelProperty(value = "是否订阅", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "yes_no_status")
    private Integer subscribed;

    /**
     * 房间名字
     */
    private String roomName;

    /**
     * 备注
     */
    private String remark;


}
